import noticeDetailTpl from './noticeDetail.html';
import noticeDetailCtrl from './noticeDetail.controller';

function routeConfig($stateProvider) {
  'ngInject';

  $stateProvider
    .state('noticeDetail', {
      parent: 'index',
      url: '/notice/detail/:id',
      templateUrl: noticeDetailTpl,
      controller: noticeDetailCtrl,
      controllerAs: 'vm',
    });
}

export default routeConfig;
